<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
        <div id="app">
             <login></login>
        </div>
        <script src="./lib/vue-2.4.0.js"></script>
        <script>
            var vm = new Vue({
                el: '#app',
                data: {

                },
                methods: {
                    
                },
                //创建私有组件
                components:{
                    login:{
                        template:'<h2>私有组件</h2>'
                    }
                }
            })
        </script>
    </body>
</html>